<div class="card">
    <titlemenu></titlemenu>
    <div activate-input activate-select class="header search-header">
        <div class="search-param-panel">
            <div class="search-input">
                <form class="form-horizontal">
                    <div class="row clearfix form-inline">
                        <div class="col-lg-2 col-md-2 col-sm-3 col-xs-3">
                            <label>主题名称</label>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-4 col-xs-4">
                            <div class="form-group">
                                <div class="form-line">
                                    <input name="lmbt" class="form-control" type="text"
                                           ng-model="selectData.lmbt"
                                           placeholder=""/>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-4 col-xs-4">
                            <label>状态</label>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-4 col-xs-4">
                            <div class="form-group">
                                <select class="form-control show-tick" name="zt" required ng-model="selectData.zt"
                                        ng-options="op.dickey as op.dicvalue for op in ztList">
                                    <option value="">-- 请选择 --</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="search-btn" style="margin-right: 20px;">
                <div>
                    <button class="btn btn-default1" ng-click="Search()">查询</button>
                    <!--<button class="btn btn-default1" ng-click="AddItem()">新增</button>-->
                </div>
            </div>
        </div>
        <div class="search-btn" style="width:100%;display: inline-block;margin-bottom: 5px">
            <div style="float: right">
                <button class="btn btn-default1" ng-click="AddItem()">新增</button>
            </div>
        </div>
    </div>
    <div class="body">
        <div class="list-table-panel">
            <table class="table table-bordered table-striped table-hover js-basic-example dataTable">
                <thead>
                <tr>
                    <th class="col-md-3">主题名称</th>
                    <th>类型</th>
                    <th>顺序</th>
                    <th>状态</th>
                    <th class="col-md-3">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="lm in lmList">
                    <td>{{lm.lmbt}}</td>
                    <td>{{lm.lmlxName}}</td>
                    <td>{{lm.sx}}</td>
                    <td>{{lm.ztName}}</td>
                    <td>
                        <button class="btn td-btn bg-light-green waves-effect" title="修改" data-placement="center"
                                data-animation="am-fade-and-scale" ng-click="EditModal(lm)">
                            修改
                        </button>
                        <button class="btn td-btn bg-pink waves-effect" title="删除" ng-click="DelItem(lm.sylmbs)">
                            删除
                        </button>
                    </td>
                </tr>
                <tr ng-if="lmList.length<=0">
                    <td colspan="5" style="text-align:center">暂无数据</td>
                </tr>
                </tbody>
            </table>
            <!--参数含义：page-Index：当前页面，page-Size：每页显示多少数据，total-Length:数据总长度-->
            <pagination ng-if="tempMenu.length>0" data-pageindex="selectData.pageindex"
                        data-pagesize="selectData.pagesize" data-ptotal="selectData.ptotal"></pagination>
        </div>
    </div>
</div>